VistaDB 6
VistaDB.DDA Namespace / IVistaDBKeyedCollection<TKey,TValue> Interface / ContainsKey Method
Key to look for in the collection


In This Topic
    ContainsKey Method (IVistaDBKeyedCollection<TKey,TValue>)
    In This Topic
    Is this key currently contained in the list? Used to lookup an entry.
    Syntax
    'Declaration
     
    
    Function ContainsKey( _
       ByVal key As TKey _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As IVistaDBKeyedCollection(Of TKey,TValue)
    Dim key As TKey
    Dim value As System.Boolean
     
    value = instance.ContainsKey(key)
    System.bool ContainsKey( 
       TKey key
    )

    Parameters

    key
    Key to look for in the collection

    Return Value

    True if found
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also